<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
    {include file="common/head" /}
</head>
<body>
{include file="common/menuLeft" /}
<section class="Hui-admin-article-wrapper">
    {include file="common/menuTop" /}
    <div class="Hui-admin-article">
        <nav class="breadcrumb" style="background-color:#fff;padding: 0 24px">
            首页
            <span class="c-gray en">/</span>
            生成采购单
        </nav>
        <article class="Hui-admin-content clearfix">
            <div class="panel">
                <div class="panel-body">
                    <div class="row clearfix">
                        <div class="col-xs-12 col-sm-4 col-md-3">
                            <div class="row clearfix mb-10">
                                <span class="col-xs-4 form-item-label">制单人：</span>
                                <span class="col-xs-8 form-item-control">
										<input type="text" name="goods_name" id="goods_name" placeholder=" 商品名称" class="input-text" />
									</span>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-4 col-md-3">
                            <div class="row clearfix mb-10">
                                <span class="col-xs-4 form-item-label">名称简写：</span>
                                <span class="col-xs-8 form-item-control">
										<input type="text" name="goods_simple_name" id="goods_simple_name" placeholder=" 名称简写" class="input-text" />
									</span>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-4 col-md-3">
                            <div class="row clearfix mb-10">
                                <span class="col-xs-4 form-item-label">货号：</span>
                                <span class="col-xs-8 form-item-control">
										<input type="text" name="goods_sn" id="goods_sn" placeholder=" 货号" class="input-text" />
									</span>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-4 col-md-2">
                            <div class="row clearfix mb-10">
                                <span class="col-xs-4 form-item-label">条形码：</span>
                                <span class="col-xs-8 form-item-control">
										<input type="text" name="goods_code" id="goods_code" placeholder=" 条形码" class="input-text" />
									</span>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-4 col-md-1">
                            <div class="row clearfix">
									<span class="col-xs-4 form-item-control">
										<button name="" id="search-submit" class="btn btn-success radius" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
									</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="panel">
                <div class="panel-body">
                    <div class="clearfix">
							<span class="f-l">
							<a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a>
							<a class="btn btn-primary radius" onclick="goods_add('添加商品','{:url('goods/goods_add')}')" href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 添加商品</a>

                                <a class="btn btn-success radius" onclick="layer.alert('暂无功能')" href="javascript:;"><i class="Hui-iconfont">&#xe644;</i> 生成报价单</a>
							</span>
                        <span class="f-r">共有数据：<strong id="all_number">0</strong> 条</span>
                    </div>
                    <div class="mt-20 clearfix">
                        <table id="data-table-list" class="table table-border table-bordered table-bg table-hover table-sort">
                            <thead>
                            <tr class="text-c">
                                <th width="25"><input type="checkbox" name="" value=""></th>
                                <th width="50">ID</th>
                                <th>商品名称</th>
                                <th width="200">名称简写</th>
                                <th width="150">货号</th>
                                <th width="150">条形码</th>
                                <th width="75">报价单价格</th>
                                <th width="75">库存</th>
                                <th width="120">操作</th>
                            </tr>
                            </thead>
                            <tbody class="getData-list" data-currPage='1'>
                            </tbody>
                        </table>
                    </div>
                    <div id="laypage" class="text-c mt-20"></div>
                </div>
            </div>
        </article>
    </div>
</section>

{include file="common/footer" /}

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__ROOT__/lib/datatables/1.10.15/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="__ROOT__/lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="__ROOT__/static/business/js/main.js"></script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>